package Framework 
{
	
	/**
	 * ...
	 * @author Menno
	 */
	public class GuiRegister 
	{
		private static var _guiManager:GuiManager;
		
		public function GuiRegister(guiManager:GuiManager) 
		{
			this.guiManager = guiManager;
		}
		
		static public function registerGuiObject(guiObject:BaseGui):void
		{
			_guiManager.addGuiObject(guiObject);
		}
		
		public function get guiManager():GuiManager 
		{
			return _guiManager;
		}
		
		public function set guiManager(value:GuiManager):void 
		{
			_guiManager = value;
		}
		
	}
	
}
